export default {
  //产品管理权限按钮字符
  productBtnrules: {
    addProduct: {
      //添加产品
      action: "addProduct"
    },
    batchDelete: {
      //批量删除
      action: "batchDelete"
    },
    editStatusUp: {
      //修改状态 上架
      action: "editStatusUp"
    },
    editStatusDown: {
      //修改状态 下架
      action: "editStatusDown"
    },
    deleteProduct: {
      //删除产品
      action: "deleteProduct"
    },
    editProduct: {
      //编辑产品
      action: "editProduct"
    },
    editCondition: {
      //新增/修改条件
      action: "editCondition"
    },
    editconditional: {
      //新增/修改条件  产品页面修改条件
      action: "editconditional"
    }
  },
  //企业客户管理权限字符
  customerEnterpiseBtnrules: {
    addCustomer: {
      //新增客户
      action: "addCustomer"
    },
    editCustomer: {
      //编辑客户
      action: "editCustomer"
    },
    deleteCustomer: {
      //删除客户
      action: "deleteCustomer"
    },
    batchDelete: {
      //批量删除
      action: "batchDelete"
    },
    communicate: {
      //客服沟通
      action: "communicate"
    },
    assignAccountManager: {
      //分配客户经理
      action: "assignAccountManager"
    }
  },
  //客户方案权限字符
  customerMatchBtnrules: {
    developPlan: {
      //出方案
      action: "developPlan"
    }
  },

  //客户管理权限字符
  customerPersonBtnrules: {
    addCustomer: {
      //新增客户
      action: "addCustomer"
    },
    editCustomer: {
      //编辑客户
      action: "editCustomer"
    },
    deleteCustomer: {
      //删除客户
      action: "deleteCustomer"
    },
    batchDelete: {
      //批量删除
      action: "batchDelete"
    }
  },

  //会员管理/用户管理权限字符
  userBtnrules: {
    editUser: {
      //编辑用户
      action: "editUser"
    },
    editPhone: {
      //编辑手机号
      action: "editPhone"
    },
    bindSystemAdmin: {
      //绑定管理员
      action: "bindSystemAdmin"
    }
  },
  //会员管理/意见反馈权限字符
  feedbackBtnrules: {
    replyFeedback: {
      //回复
      action: "replyFeedback"
    },
    deleteFeedback: {
      //删除意见反馈
      action: "deleteFeedback"
    },
    batchDeleteFeedback: {
      //批量删除意见反馈
      action: "batchDeleteFeedback"
    }
  },

  //系统管理/机构管理权限字符
  deptBtnRules: {
    addDept: {
      //添加机构
      action: "addDept"
    },
    editDept: {
      //编辑机构
      action: "editDept"
    },
    deleteDept: {
      //删除机构
      action: "deleteDept"
    }
  },

  //系统管理/用户管理权限按钮字符
  adminBtnrules: {
    addAdmin: {
      //添加用户
      action: "addAdmin"
    },
    batchDelete: {
      //批量删除
      action: "batchDelete"
    },
    deleteAdmin: {
      //删除用户
      action: "deleteAdmin"
    },
    editAdmin: {
      //修改用户
      action: "editAdmin"
    },
    relationRole: {
      //分配角色
      action: "relationRole"
    },
    editStatusUser: {
      //修改用户状态
      action: "editStatusUser",
      effect: "disabled"
    }
  },

  //系统管理/角色管理权限字符
  roleBtnRules: {
    addRole: {
      //添加角色
      action: "addRole"
    },
    batchDelete: {
      //批量删除
      action: "batchDelete"
    },
    deleteRole: {
      //删除角色
      action: "deleteRole"
    },
    editRole: {
      //修改角色
      action: "editRole"
    },
    relationMenu: {
      //分配菜单
      action: "relationMenu"
    },
    relationResource: {
      //分配资源
      action: "relationResource"
    }, //分配数据
    relationData: {
      action: "relationData"
    },
    editRoleStatus: {
      //修改角色状态
      action: "editRoleStatus",
      effect: "disabled"
    }
  },
  //系统管理/菜单列表权限字符
  MenuBtnRules: {
    addMenu: {
      //添加菜单
      action: "addMenu"
    },
    editMenu: {
      //修改菜单
      action: "editMenu"
    },
    deleteMenu: {
      //删除菜单
      action: "deleteMenu"
    },
    updateHidden: {
      //修改菜单隐藏状态
      action: "updateHidden"
    }
  },

  //系统管理/资源列表权限字符

  ResourceBtnRules: {
    addResource: {
      //添加资源
      action: "addResource"
    },
    editResource: {
      //修改资源
      action: "editResource"
    },
    deleteResource: {
      //删除资源
      action: "deleteResource"
    },
    cateResource: {
      //添加资源分类
      action: "cateResource"
    }
  },
  //系统管理/条件管理

  ConditionBtnRules: {
    addResource: {
      //添加资源
      action: "addResource"
    },
    editResource: {
      //修改资源
      action: "editResource"
    },
    deleteResource: {
      //删除资源
      action: "deleteResource"
    },
    cateResource: {
      //添加资源分类
      action: "cateResource"
    }
  }
};
